package com.dcm360.report.alarm.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 【请填写功能名称】对象 alarm_voice
 * 
 * @author ligh
 * @date 2022-03-30
 */
public class AlarmVoice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 语音文件名称 */
    private String voiceName;

    /** 语音文件路径 */
    private String voicePath;

    /** 语音播报类型：1代表内容，2代表文件 */
    private String voiceType;

    /** 语音状态：0代表停用，1代表启用 */
    private String voiceState;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setVoiceName(String voiceName) 
    {
        this.voiceName = voiceName;
    }

    public String getVoiceName() 
    {
        return voiceName;
    }
    public void setVoicePath(String voicePath) 
    {
        this.voicePath = voicePath;
    }

    public String getVoicePath() 
    {
        return voicePath;
    }
    public void setVoiceType(String voiceType) 
    {
        this.voiceType = voiceType;
    }

    public String getVoiceType() 
    {
        return voiceType;
    }
    public void setVoiceState(String voiceState) 
    {
        this.voiceState = voiceState;
    }

    public String getVoiceState() 
    {
        return voiceState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("voiceName", getVoiceName())
            .append("voicePath", getVoicePath())
            .append("voiceType", getVoiceType())
            .append("voiceState", getVoiceState())
            .append("remark", getRemark())
            .toString();
    }
}
